<include file="Public:header"/>

<div class="data_list">
	<table>
		<tr>
			<th>名称</th>
			<th>操作</th>
		</tr>
		<volist name="list" id="rs">
		<tr class="data-{$rs['id']}">
			<td style="text-align:left">{$rs['title']}</td>
			<td>
				<a href="{:URL('edit', array('id'=>$rs['id']))}" title="修改">
					<i class="if if-edit"></i>
				</a>
				<a href="{:URL('delete', array('id' => $rs['id']))}" class="btn-confirm-opt delete-opt" title="{$rs['title']}" del-class="data-{$rs['id']}">
					<i class="if if-delete"></i>
				</a>
			</td>
		</tr>
		</volist>
	</table>
</div>

<notempty name="page"><div class="page">{$page}</div></notempty>

<div class="batch_opt">
	<span class="btn btn-delete selected-delete" url="{:URL('delete')}">删除选中</span>
	<span class="btn btn-add" url="{:URL('add')}">添加角色</span>
</div>

<include file="Public:footer"/>